export function getChartData() {
  const flyChartConfig = {
    bgImgSrc: 'https://wangbin3162.gitee.io/bin-files/other/china.png',
    points: [
      {
        name: '徐州',
        coordinate: [0.67, 0.54],
      },
      {
        name: '北京',
        coordinate: [0.65, 0.4],
        halo: {
          show: true,
          color: '#8378ea',
        },
      },
      { name: '上海', coordinate: [0.71, 0.62] },
      {
        name: '南京',
        coordinate: [0.68, 0.59],
        halo: {
          show: true,
        },
        icon: {
          src: 'https://wangbin3162.gitee.io/bin-files/other/mapPoint.png',
          width: 30,
          height: 30,
        },
      },
      { name: '广州', coordinate: [0.61, 0.8] },
      { name: '黑龙江', coordinate: [0.75, 0.23] },
      {
        name: '郑州',
        coordinate: [0.59, 0.55],
        halo: {
          show: true,
          color: '#37a2da',
        },
      },
      { name: '荣成', coordinate: [0.69, 0.47] },
      { name: '青海', coordinate: [0.38, 0.5] },
      { name: '西藏', coordinate: [0.25, 0.62] },
      { name: '内蒙古', coordinate: [0.51, 0.39] },
      { name: '呼和浩特', coordinate: [0.19, 0.43] },
      { name: '海南', coordinate: [0.56, 0.88] },
      { name: '武汉', coordinate: [0.54, 0.65] },
      { name: '四川', coordinate: [0.46, 0.61] },
    ],
    lines: [
      { source: '徐州', target: '南京' },
      { source: '北京', target: '南京', color: '#fb7293', width: 2 },
      { source: '上海', target: '南京', color: '#8378ea' },
      { source: '南京', target: '南京', color: '#8378ea' },
      { source: '广州', target: '南京' },
      { source: '黑龙江', target: '南京' },
      { source: '郑州', target: '南京', color: '#fb7293', width: 2 },
      { source: '荣成', target: '南京', color: '#8378ea' },
      { source: '青海', target: '南京' },
      { source: '西藏', target: '南京', color: '#8378ea' },
      { source: '内蒙古', target: '南京' },
      { source: '呼和浩特', target: '南京' },
      { source: '海南', target: '南京' },
      { source: '武汉', target: '南京', color: '#37a2da' },
      { source: '四川', target: '南京' },
    ],
    icon: {
      show: true,
      src: 'https://wangbin3162.gitee.io/bin-files/other/mapPoint.png',
    },
    text: {
      show: true,
    },
  };

  const liquidFillConfig = {
    data: [60, 66],
    colors: ['#9b39ab', '#5073fb'],
    waveNum: 3,
    waveHeight: 10,
    waveOpacity: 0.3,
    textColor: '#fff',
  };

  const scrollRank = {
    data: [
      { name: '漯河', value: 167 },
      { name: '三门峡', value: 123 },
      { name: '郑州', value: 98 },
      { name: '周口', value: 89 },
      { name: '濮阳', value: 68 },
      { name: '信阳', value: 58 },
      { name: '新乡', value: 38 },
    ],
  };
  const scrollTable = {
    header: ['列1', '列2', '列3'],
    data: [
      ['行1列1', '行1列2', '行1列3'],
      ['行2列1', '行2列2', '行2列3'],
      ['行3列1', '行3列2', '行3列3'],
      ['行4列1', '行4列2', '行4列3'],
      ['行5列1', '行5列2', '行5列3'],
      ['行6列1', '行6列2', '行6列3'],
      ['行7列1', '行7列2', '行7列3'],
      ['行8列1', '行8列2', '行8列3'],
      ['行9列1', '行9列2', '行9列3'],
      ['行10列1', '行10列2', '行10列3'],
    ],
    waitTime: 800,
    index: true,
    columnWidth: [50],
    align: ['center'],
  };

  const capsule = {
    data: [
      { name: '漯河', value: 167 },
      { name: '郑州', value: 68 },
      { name: '周口', value: 89 },
      { name: '濮阳', value: 98 },
      { name: '三门峡', value: 123 },
    ],
    colors: ['#e062ae', '#96bfff', '#e690d1', '#32c5e9', '#fb7293'],
    unit: '(条)',
    showValue: true,
    valuePosition: 'right',
  };

  const conical = {
    data: [
      { name: '漯河', value: 167 },
      { name: '三门峡', value: 123 },
      { name: '郑州', value: 98 },
      { name: '周口', value: 89 },
      { name: '濮阳', value: 68 },
      { name: '信阳', value: 58 },
      { name: '新乡', value: 38 },
    ],
    img: [
      'https://wangbin3162.gitee.io/bin-files/other/1st.png',
      'https://wangbin3162.gitee.io/bin-files/other/2st.png',
      'https://wangbin3162.gitee.io/bin-files/other/3st.png',
      'https://wangbin3162.gitee.io/bin-files/other/4st.png',
      'https://wangbin3162.gitee.io/bin-files/other/5st.png',
      'https://wangbin3162.gitee.io/bin-files/other/6st.png',
      'https://wangbin3162.gitee.io/bin-files/other/7st.png',
    ],
    showValue: true,
  };

  return {
    flyChartConfig,
    liquidFillConfig,
    scrollRank,
    scrollTable,
    capsule,
    conical,
  };
}
